package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Category;
import com.itheima.reggie.entity.Dish;

public interface DishService extends IService<Dish> {
    public void saveAndFlavor(DishDto dishDto);

    public DishDto getByIdAndFlavor(Long id);

    public void updateAndFlavor(DishDto dishDto);


    public Page<DishDto> page(Integer page, Integer pageSize, String name);
}
